package sk.tuke.magsa.personalistika.entity;

import sk.tuke.magsa.framework.Entity;

public class Zamestnanec extends Entity {
    private static final long serialVersionUID = 1L;

    private Integer oddelenie;

    public Integer getOddelenie() {
        return oddelenie;
    }

    public void setOddelenie(Integer oddelenie) {
        this.oddelenie = oddelenie;
    }

    private String meno;

    public String getMeno() {
        return meno;
    }

    public void setMeno(String meno) {
        this.meno = meno;
    }

    private String priezvisko;

    public String getPriezvisko() {
        return priezvisko;
    }

    public void setPriezvisko(String priezvisko) {
        this.priezvisko = priezvisko;
    }

    private Integer vek;

    public Integer getVek() {
        return vek;
    }

    public void setVek(Integer vek) {
        this.vek = vek;
    }
    
    public String toString() {
        return "meno: "+ "\t" + this.meno + "\n" + "priezvisko: "+ "\t" + this.priezvisko + "\n" + "vek: "+ "\t" + this.vek;
    }

    
}
